package dryven.view.engine.parser.parts;

import java.io.IOException;
import java.io.Writer;

import dryven.codegen.asm.MethodBuilder;
import dryven.view.ViewDataDictionary;
import dryven.view.engine.parser.CompilationException;
import dryven.view.engine.parser.ViewComponentLocator;
import dryven.view.engine.parser.ViewDataDeclarationCollection;

public interface CompiledViewPart {
	public void compile(ViewDataDeclarationCollection declarations, ViewComponentLocator locator) throws CompilationException;
	public void evaluate(ViewDataDictionary viewData, Writer out, ViewDataDeclarationCollection declarations) throws IOException;
	public void writeInstructions(MethodBuilder builder);
}
